package org.opens.mybatisplus.service.impl;

import org.opens.mybatisplus.dao.RedisMapper;
import org.opens.mybatisplus.entity.BasParamEntity;
import org.opens.mybatisplus.service.RedisService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 功能:
 *
 * @author zym
 * @Date 2022/1/10 17:56
 */
@Service(value = "redisService")
public class RedisServiceImpl implements RedisService {

    @Autowired
    private RedisMapper redisMapper;

    @Override
    public BasParamEntity findByName(String hosNum, String name) {
        return redisMapper.findByName(hosNum, name);
    }

    @Override
    public BasParamEntity findByName2(String hosNum, String name) {
        return findByName(hosNum, name);
    }

    @Override
    public void deleteById(String id) {

    }
}
